﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TRec.Windows.UI.UserControls
{
    public partial class ExceptionEntry : UserControl
    {
        public ExceptionEntry()
        {
            InitializeComponent();
        }

        public Guid Id { get; set; }

        public int Minutes
        {
            get
            {
                return Convert.ToInt32( nudExc1.Value );
            }
            set
            {
                nudExc1.Value = value;
            }
        }

        public string Message
        {
            get
            {
                return txtExc1.Text;
            }
            set
            {
                txtExc1.Text = value;
            }
        }
    }
}
